From d16691702974c9c8a30db969d66529320cdccd97 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 14 May 2010 17:48:34 +0100 Subject: [PATCH] stop_machine: Pass cpu number to tasklet handler. Otherwise the BUG_ON() I added to the handler always BUGs! Signed-off-by: Keir Fraser --- xen/common/stop_machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/stop_machine.c b/xen/common/stop_machine.c index 70856505e3..83f525f09b 100644 --- a/xen/common/stop_machine.c +++ b/xen/common/stop_machine.c @@ -160,7 +160,7 @@ static int __init cpu_stopmachine_init(void) unsigned int cpu; for_each_possible_cpu ( cpu ) tasklet_init(&per_cpu(stopmachine_tasklet, cpu), - stopmachine_action, 0); + stopmachine_action, cpu); return 0; } __initcall(cpu_stopmachine_init); -- 2.30.2